package com.atzhiguo.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author zhiguo
 * @version v1.0
 * @create 2020/10/19 13:17
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_Ok(Integer id) {
        return "-----------------PaymentFallbackService - fall back - paymentInfo_Ok ,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "-----------------PaymentFallbackService - fall back - paymentInfo_Timeout ,o(╥﹏╥)o";

    }
}
